<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="col-md-8 col-sm-10 ">
<!-- 帖子列表 -->
<div class="panel panel-default">
<div class="panel-heading">发布新贴
    <div class="pull-right">
    <a class="btn btn-success btn-xs" title="最新帖子">最新</a>
    <a class="btn btn-warning btn-xs" title="最热帖子">最热</a>
    <a class="btn btn-info btn-xs" title="最新回复">新回</a>
    <a class="btn btn-danger btn-xs" title="查看全部精华贴">精</a>
    <a class="btn btn-default btn-xs" title="过滤公告置顶帖">滤</a>
    </div>
</div>

<ul class="list-group">
<li class="list-group-item">
    <form class="form-horizontal" action="${ctx }/topic/sendTopic" method="post">
        <div class="form-group">
            <label class="col-sm-2 control-label">标题</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="title" name="title" placeholder="帖子标题(不超过20个字)">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">所在区域</label>
            <div class="col-sm-10">
                <select class="form-control" id="areaname" name="areaId">
                </select>
            </div>
        </div>
        <%--<div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <div class="checkbox">
                    <label>
                        <input type="checkbox"> Remember me
                    </label>
                </div>
            </div>
        </div>--%>
        <div class="form-group">
            <label class="col-sm-2 control-label">内容:</label>
            <div class="col-sm-10">
                <textarea class="form-control" rows="3" placeholder="帖子内容" name="content"></textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">
                    <span class="glyphicon glyphicon-send"></span> 发表
                </button>
            </div>
        </div>
    </form>
    <div class="clearfix"></div>
</li>

</ul>
</div>

</div>
